![]() |
NewWindow |
||||
Header: | MacWindows.h | Carbon status: | Modified | |
Creates a new monochrome window from a parameter list.
WindowRef NewWindow ( void *wStorage, const Rect *boundsRect, ConstStr255Param title, Boolean visible, SInt16 theProc, WindowRef behind, Boolean goAwayFlag, SInt32 refCon );
The NewWindow function was originally implemented prior to Color QuickDraw. In Mac OS 8, you should call the Color QuickDraw function NewCWindow instead of NewWindow to programmatically create a window, because Color QuickDraw is always available in Mac OS 8. Use of this function is not recommended with Mac OS 8 and later.
Modified in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)